package com.jt.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jt.mapper.ItemCatParamMapper;
import com.jt.pojo.ItemCatParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ItemCatParamServiceImpl implements ItemCatParamService{
    @Autowired
    private ItemCatParamMapper paramMapper;
    @Override
    public List<ItemCatParam> findItemCatParamListByType(ItemCatParam param) {
        QueryWrapper<ItemCatParam> qw=new QueryWrapper<>(param);
        return paramMapper.selectList(qw);
    }
}
